/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package services.webService;

import javax.ejb.EJB;
import javax.jws.WebService;
import javax.ejb.Stateless;
import javax.jws.WebMethod;
import services.SearchManagerLocal;

/**
 *
 * @author Emmanuel
 */
@WebService(serviceName = "NewWebService")
@Stateless()
public class NewWebService {
    @EJB
    private SearchManagerLocal ejbRef;// Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Web Service Operation")

    @WebMethod(operationName = "testConexion")
    public String testConexion() {
        return ejbRef.testConexion();
    }
    
}
